﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DailyDiet.Services.Constant
{
    /// <summary>
    /// CacheService常量类
    /// </summary>
    public static class CacheSerializeConstant {
        private const string Doc = "cache/";

        public const string RecBreakfastList = "RecBreakfastList";
        public const string RecDinnerList = "RecDinnerList";
        public const string RecLunchList = "RecLunchList";

        public const string AllDietImage = "allDietImage";

        /// <summary>
        /// key与存储文件对应
        /// </summary>
        public static Dictionary<String, String> KeyToFileName =
            new Dictionary<string, string> {
                {RecBreakfastList, "RecBreakfastList.txt"},
                {RecDinnerList, "RecDinnerList.txt"},
                {RecLunchList, "RecLunchList.txt"},
                {AllDietImage,"allDietImage.txt"}
            };
    }
}
